
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
      content="width=device-width,minimum-scale=1.0,
      maximum-scale=1.0,user-scalable=no">
    <title>聊天</title>
    <style>
         *{
            margin: 0px;
            padding: 0px;
        }
        body{
            background: #ecedee;
        }
        .title{
            background: #f4f4f4;
            display: flex;
            padding:5px;
            position: relative;
        }
       
        .arrow_l{
            width: 10%;
			text-align:center;
			padding-top:5px;
        }


        .frd_name{
            width: 80%;
            font-size: 17spx;
            left:0.01%;
			padding-top:5px;
			font-weight:bold;
            
            
        }
        .more{
            width: 10%;
			padding-top:6px;
            text-align: right;
            
        }
        .content{
            align-items: center;
            justify-content: space-between;
            position: relative;
        }
        .time{
            font-size: 12px;
            text-align: center;
            color: #bfbfbf;
        }
        .time p{
            padding: 8px;
        }
        .frd_mess{
            display: flex;
            padding: 5px;
        }
        .text{
            padding: 0px 15px 15px 15px;
            text-align: left;
        }
        p{
            padding: 12px;
        }
        .frd_mess p{
            text-align: left;
            font-size: 15px;
            background-color: #ffffff;
            border-radius: 5px;
        }
        .frd_photo{
            text-align: left;
        }
        .frd_photo img{
            border-radius: 5px;
			text-align: right;
            width: 50px;
        }
        .my_mess{
            padding: 5px;
            display: flex;
            justify-content: flex-end;
        }
        .my_mess p{
            font-size: 15px;
            background-color: #83ea79;
            border-radius: 5px;
        }
        .my_photo{
            text-align: right;
        }
        .my_photo img{
            border-radius: 5px;
            width: 50px;
        }
        .error{
            padding: 10px 0px;
        }
        .chat_box{
            width: 100%;
            background: #f4f4f4;
            padding: 10px;
            display: flex;
            position: fixed;
            bottom: 0px;
			z-index: 9999;
        }
        .voice{
            width: 10%;
        }
        .text_input{
            width: 70%;
            background-color: white;
         <!--    border-radius: 4px; -->
			background-color:transparent;border:0;
			
        }
        .emoji{
            width: 10%;
            margin-left: 5px;
        }
        .more_func{
            width: 10%;
        }
    </style>
</head>
<body>
<div class="all">
    <!--header-->
    <div class="title">
    		<div class="arrow_l">
	           <a href="index.html"><img src="右.png" width="15"></a>
	        </div>
	        <div class="frd_name">高圆圆</div>
	        <div class="more">
	            <img src="更多1.png" width="24">
	        </div>
    </div>
    <!--body-->
    <div class="content">
        <div class="time"><p>上午7:03</p></div>
        <div class="frd_mess">
            <div class="frd_photo">
                <img src="2.png">
            </div>
            <div class="text">
                <p>其实我就要结婚了</p>
            </div>
        </div>
        <div class="my_mess">
            <div class="text"><p>???</p></div>
            <div class="my_photo">
                <img src="ZZ.jpg" width="44">
            </div>
        </div>
        <div class="time"><p>下午5:10</p></div>
        <div class="frd_mess">
            <div class="frd_photo">
                <img src="2.png">
            </div>
            <div class="text">
                <p> 他太优秀了我拒绝不了他</p>
            </div>
        </div>
        <div class="frd_mess">
            <div class="frd_photo">
                <img src="2.png">
            </div>
            <div class="text">
                <p>对不起</p>
            </div>
        </div>
        <div class="frd_mess">
            <div class="frd_photo">
                <img src="2.png">
            </div>
            <div class="text">
                <p>我们不可能了</p>
            </div>
        </div>
        <div class="frd_mess">
            <div class="frd_photo">
                <img src="2.png">
            </div>
            <div class="text">
                <p>他是一个演员，长得也很帅，头发也很多。</p>
            </div>
        </div>
        <div class="my_mess">
            <div class="text"><p>NO!</p></div>
            <div class="my_photo">
                <img src="ZZ.jpg" width="44">
            </div>
        </div>
        <div class="my_mess">
            
            <div class="text"><p>我爱你</p></div>
            <div class="my_photo">
                <img src="ZZ.jpg" width="44">
            </div>
        </div>
    </div>
    <!--footer-->
    <div class="chat_box">
        <div class="voice">
            <img src="语音.png" width="24">
        </div>
       <!--  <div class="text_input">
		
        </div> -->
		<input class="text_input"/>
        <div class="emoji">
            <img src="表情1.png" width="24">
        </div>
        <div class="more_func">
            <img src="更多1.png" width="24">
        </div>
    </div>
</div>
</body>
</html>